﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataShow.rank
{
    /// <summary>
    /// ReadAllForecastersHandler 的摘要说明
    /// </summary>
    public class ReadAllForecastersHandler : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.Write(GetAllForecasters());
        }

        private string GetAllForecasters()
        {
            return new codeBLL.RankBLL().GetForecastersID2Json().Replace('\"','\'');
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}